package com.mybatisplus.mp.ifelse3;

import java.util.HashMap;

public enum DataType {
    one("one");
private String name;
    DataType(String one) {
        this.name = one;
    }

    public static void getName(String name) {
        for (DataType value : DataType.values()) {
            if (name.equals(value)) {
                System.out.println(value);
            }
        }
    }

}
